package com.demo.login.service.impl;

import com.demo.login.dao.UserDao;
import com.demo.login.dao.impl.UserDaoImpl;
import com.demo.login.entity.User;
import com.demo.login.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();

    @Override
    public User login(String loginId, String loginPwd) {
        return userDao.login(loginId, loginPwd);
    }
}
